package io.iec.edp.caf.data.cafrepo;

import io.iec.edp.caf.data.multilang.CAFMultiLanguageColumn;
import lombok.Data;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author manwenxing01
 */
@Data
@Entity
@Table(name = "country")
public class Country {

    @Id
    private String id;

    private String code;

    @Embedded
    private CAFMultiLanguageColumn name;

}
